package com.webchat.chat.dao;

import com.webchat.chat.core.Mapper;
import com.webchat.chat.model.ClientServiceRecord;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ClientServiceRecordMapper extends Mapper<ClientServiceRecord> {

    List<ClientServiceRecord> selectByCustomerClientId(@Param("customerClientId") String customerClientId);


    ClientServiceRecord selectLastByCustomerClientId(@Param("customerClientId") String customerClientId, @Param("targetClientId") String targetClientId);

}